package com.neusoft.EYSystem.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

public class CaretakerClient {
    @TableId(type = IdType.AUTO) // 雪花算法
    private Integer cId;
    private Integer caretakerId;
    private Integer clientId;
    private Boolean isServered;

    public Integer getCId() { return cId; }
    public void setCId(Integer cId) { this.cId = cId; }
    public Integer getCaretakerId() { return caretakerId; }
    public void setCaretakerId(Integer caretakerId) { this.caretakerId = caretakerId; }
    public Integer getClientId() { return clientId; }
    public void setClientId(Integer clientId) { this.clientId = clientId; }
    public Boolean getIsServered() { return isServered; }
    public void setIsServered(Boolean isServered) { this.isServered = isServered; }

    @Override
    public String toString() {
        return "CaretakerClient{" +
                "cId=" + cId +
                ", caretakerId=" + caretakerId +
                ", clientId=" + clientId +
                ", isServered=" + isServered +
                '}';
    }
}
